www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Labeling/SearchLeb.asp

    <html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--搜索标签</title>
<LINK href="../css/css.css" type=text/css rel=stylesheet>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script>
<table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0>
  <tbody>
    <tr>
      <td colspan="4" class=xingmu>搜索标签</td>
    </tr>
	  <form method="post" name="typelebForm">
    <tr>
      <td height=32 align="right" class="hback">排序方式:</td>
      <td height=32 colspan="3" class="hback"><select name="Sorting" style="width: 150px;">
        <option value="1">影片ID(降序)</option>
        <option value="2">影片ID(升序)</option>
        <option value="3">影片更新时间(降序)</option>
        <option value="4">影片更新时间(升序)</option>
	<option value="5">点播次数(降序)</option>
        <option value="6">点播次数(升序)</option>
      </select></td>
    </tr>
	 <tr>
      <td height=32 align="right" class="hback">每页显示数量:</td>
      <td height=32 colspan="3" class="hback"><input name="Volume" type="text" value="4"></td>
    </tr>
    <tr>
      <td height=34 align="right" class="hback">并排数量:</td>
      <td height=34 colspan="3" class="hback"><input name="TdVolume" type="text" value="1"></td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">新开窗口:</td>
      <td height=32 colspan="3" class="hback"><select name="OpenStyle" style="width: 150px;">
        <option value="1">是新窗口打开</option>
        <option value="2">否原窗口打开</option>
      </select></td>
    </tr>
	  <TR>
    <TD height=32 align="right" class="hback">图片大小:</TD>
    <TD colspan="3" class="hback">宽度:
      <input name="picwidth" type="text" value="90" size="5">
      高度:
      <input name="picheight" type="text" value="120" size="5"></TD>
	  </TR>
    <tr>
      <td height=-2 align="right" class="hback">显示内容:</td>
      <td height=15 colspan="3" class="hback"><input name="ShowActor" type="checkbox" value="1" checked>
          影片主演
          <input name="Showtype" type="checkbox" value="1" checked>
          所属栏目
          <input name="ShowRegion" type="checkbox" value="1" checked>
      出产地区
      <input name="ShowClick" type="checkbox" value="1">
点播次数<br>
      <input type="checkbox" name="ShowCoin" value="1">
      需要影币
      <input type="checkbox" name="ShowDate" value="1">
      更新时间
      <input type="checkbox" name="ShowContent" value="1">
影片介绍</td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">影片名称字数:</td>
      <td height=16 class="hback"><input type="text" name="TitleVolume"></td>
      <td width="20%" height=16 align="right" class="hback">名称链接CSS:</td>
      <td height=16 class="hback"><input type="text" name="TitleStyle"></td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">演员数量:</td>
      <td height=32 class="hback"><input name="ActorVolume" type="text" value="1"></td>
      <td height=32 align="right" class="hback">介绍字数:</td>
      <td height=32 class="hback"><input name="ContentVolume" type="text" value="15"></td>
    </tr>
	 <tr>
      <td height=32 align="right" class="hback">背景颜色:</td>
      <td width="21%" height=-2 class="hback"><input name="BgColor" type="text" value="" size="15">
      <img src="../../Editor/icons/btColor.gif" width="16" height="15" class="overBorder" onClick='p=showModalDialog("../../Editor/SelectColor.asp",window,"center:yes;dialogHeight:251px;dialogWidth:300px;help:no;status:no");if(p!=null){this.style.backgroundColor=BgColor.value=p.split("*")[0]}else{this.style.backgroundColor=""}'></td>
	  <td width="16%" align="right" class="hback">边框颜色:</td>
	  <td height=15 class="hback"><input name="BorderColor" type="text" value="" size="15">
	  <img src="../../Editor/icons/btColor.gif" width="16" height="15" class="overBorder" onClick='p=showModalDialog("../../Editor/SelectColor.asp",window,"center:yes;dialogHeight:251px;dialogWidth:300px;help:no;status:no");if(p!=null){this.style.backgroundColor=BorderColor.value=p.split("*")[0]}else{this.style.backgroundColor=""}'></td>
	 </tr>
	 <tr>
	   <td height=32 align="right" class="hback">背景图案:</td>
	   <td height=16 colspan="3" class="hback"><input name="BgPic" id="BgPic" size=45 maxlength="200"> 
	<input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.typelebForm.BgPic.value=TempReturnValue;" class=Anbutc></td>
    </tr>
    <tr>
      <td height=32 colspan="4" align="center" class="hback"><input type="button" onClick="ok(this.form)" name="Submit" value="添加"></td>
    </tr>
	</form>
  </tbody>
</table>
<script language="JavaScript">
	function ok(obj)
	{
		var retV = '{$SearchLeb(';
		retV+= 'Searchtype,';
		retV+= 'Keyword,';
		retV+= obj.Volume.value + ',';
		retV+= obj.TdVolume.value + ',';
		retV+= formvalue(obj.TitleVolume.value) + ',';
		retV+= formvalue(obj.picwidth.value) + ',';
		retV+= formvalue(obj.picheight.value) + ',';
		retV+= formvalue2(obj.TitleStyle.value) + ',';
		retV+= show(obj.ShowActor) + ',';
		retV+= formvalue(obj.ActorVolume.value) + ',';
		retV+= show(obj.Showtype) + ',';
		retV+= show(obj.ShowRegion) + ',';
		retV+= show(obj.ShowClick) + ',';
		retV+= show(obj.ShowCoin) + ',';
		retV+= show(obj.ShowDate) + ',';
		retV+= show(obj.ShowContent) + ',';
		retV+= formvalue(obj.ContentVolume.value) + ',';
		retV+= obj.Sorting.value + ',';
		retV+= obj.OpenStyle.value + ',';
		retV+= formvalue2(obj.BgColor.value) + ',';
		retV+= formvalue2(obj.BgPic.value) + ',';
		retV+= formvalue2(obj.BorderColor.value) + ')';
		retV+='}';
		InsertLabel(retV)
	}
function formvalue(namevalue)
{
	if(namevalue=="")
		namevalue='""';
		return namevalue;
}
function formvalue2(namevalue2)
{
	if(namevalue2=="")
	{
		namevalue2='""';
	}
	else
	{
	namevalue2='"'+namevalue2+'"'
	}
		return namevalue2;
}
function show(namechecked)
{
    if(namechecked.checked==true)
	{
	namechecked=namechecked.value;
	}
	else
	{
	namechecked='""';
	}
	return namechecked;
}
<%if Request.QueryString("text")=1 then%>
function InsertLabel(LabelContent)
{
	window.returnValue=LabelContent;
	window.close();
}
window.onunload=SetReturnValue;
function SetReturnValue()
{
	if (typeof(window.returnValue)!='string') window.returnValue='';
}
<%else%>
function InsertLabel(LabelContent)
{
	var obj=dialogArguments.oUtil.obj;
	obj.insertHTML(LabelContent)
	window.close();
}
<%end if%>
</script>
</BODY></HTML>